﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.IRepositories
{
    public interface IReplyRepository : IRepository<Reply>
    {
        Reply GetById(Int32 id);

        IQueryable<Reply> GetAll(string key, string pid);

        IQueryable<Reply> GetPageList(string userId, string disable, string SearchKeyWords, int PageSize, int PageCurrent, string OrderField, bool OrderDirection = true);
        bool AddOrUpdate(Reply model);

        bool DeleteById(int id);
    }
}
